/*************************************************************************
    > File Name: code.c
    > Author: ma6174
    > Mail: ma6174@163.com 
    > Created Time: Mon 27 Oct 2025 10:10:05 AM CST
 ************************************************************************/

#include<stdio.h>

int Sum(int s,int e)
{
	int sum = 0;
	int i = s;
	for(;i <= e; i++)
	{
		sum += i;
	}
	return sum;
}

int main()
{
	printf("process is running\n");
	int start = 1;
	int end = 100;
	int result = Sum(start,end);
	printf("process is done, result: %d\n", result);
}

